I am trying to upload a file with size 1 kb and I am getting error while uploading.
"WinSCP.SessionRemoteException: Copying files to remote side failed. No file not specified."
I have cross checked the file path and it is valid.
I can copy over the same file to same upload folder through the interface but not through the .net code.
Thanks!
SP
Here's my log.
. 2014-03-20 11:06:21.816 Using FTP protocol.
. 2014-03-20 11:06:21.816 Doing startup conversation with host.
> 2014-03-20 11:06:21.816 PWD
< 2014-03-20 11:06:21.847 257 "/" is current directory.
. 2014-03-20 11:06:21.847 Getting current directory name.
. 2014-03-20 11:06:21.847 Startup conversation with host finished.
< 2014-03-20 11:06:21.847 Script: Active session: [1] BMS@Orders.myftp.com
> 2014-03-20 11:06:40.817 Script: put -nopermissions -preservetime -transfer="ascii" -- "C:\BMS-Data Conversion\Orgill Formats\Orgill FTP Upload\BMS.PO" "/UP"
. 2014-03-20 11:06:40.817 Copying 1 files/directories to remote directory "/"
. 2014-03-20 11:06:40.817 PrTime: Yes; PrRO: No; Rght: rw-r--r--; PrR: No (No); FnCs: N; RIC: 0100; Resume: S (102400); CalcS: No; Mask: UP
. 2014-03-20 11:06:40.817 TM: A; ClAr: No; RemEOF: No; RemBOM: No; CPS: 0; NewerOnly: No; InclM:
. 2014-03-20 11:06:40.817 AscM: *.*html; *.htm; *.txt; *.php; *.php3; *.cgi; *.c; *.cpp; *.h; *.pas; *.bas; *.tex; *.pl; *.js; .htaccess; *.xtml; *.css; *.cfg; *.ini; *.sh; *.xml
. 2014-03-20 11:06:40.817 File: 'C:\BMS-Data Conversion\Orgill Formats\Orgill FTP Upload\BMS.PO' [2014-03-20T01:52:42.475Z] [83]
. 2014-03-20 11:06:40.817 Copying "C:\BMS-Data Conversion\Orgill Formats\Orgill FTP Upload\BMS.PO" to remote directory started.
. 2014-03-20 11:06:40.817 Ascii transfer mode selected.
. 2014-03-20 11:06:40.817 Starting upload of C:\BMS-Data Conversion\Orgill Formats\Orgill FTP Upload\BMS.PO
> 2014-03-20 11:06:40.817 TYPE A
< 2014-03-20 11:06:40.832 200 Type set to A.
> 2014-03-20 11:06:40.832 PASV
< 2014-03-20 11:06:40.863 227 Entering Passive Mode (74,254,143,170,15,142)
> 2014-03-20 11:06:40.863 MLSD
< 2014-03-20 11:06:40.910 150 Opening ASCII mode data connection for directory listing.
< 2014-03-20 11:06:40.988 226 Transfer complete.
. 2014-03-20 11:06:40.988 size=0;type=dir;perm=elc;create=20060628073705;modify=20060628073705; UP
. 2014-03-20 11:06:40.988 size=0;type=dir;perm=elc;create=20140318102959;modify=20140318102959; INVOICES
. 2014-03-20 11:06:40.988 size=0;type=dir;perm=elc;create=20060628073701;modify=20060628073701; PRICECHG
. 2014-03-20 11:06:40.988 size=0;type=dir;perm=elc;create=20140315014859;modify=20140315014859; ORGITEM
. 2014-03-20 11:06:40.988 size=0;type=dir;perm=elc;create=20140315014859;modify=20140315014859; TRIITEM
. 2014-03-20 11:06:40.988 size=0;type=dir;perm=elc;create=20060628073704;modify=20060628073704; SPECIAL
. 2014-03-20 11:06:40.988 size=0;type=dir;perm=elc;create=20140315014849;modify=20140315014849; PROMOPRC
> 2014-03-20 11:06:40.988 TYPE A
< 2014-03-20 11:06:41.020 200 Type set to A.
> 2014-03-20 11:06:41.020 PASV
< 2014-03-20 11:06:41.051 227 Entering Passive Mode (74,254,143,170,15,143)
> 2014-03-20 11:06:41.051 STOR UP
< 2014-03-20 11:06:41.082 550 No file not specified.
. 2014-03-20 11:06:41.082 Copying files to remote side failed.
* 2014-03-20 11:06:41.082 (ExtException) **Copying files to remote side failed.**
* 2014-03-20 11:06:41.082 No file not specified.
. 2014-03-20 11:06:41.082 Asking user:
. 2014-03-20 11:06:41.082 Error transferring file 'C:\BMS-Data Conversion\Orgill Formats\Orgill FTP Upload\BMS.PO'. ("Copying files to remote side failed.","No file not specified.")
< 2014-03-20 11:06:41.082 Script: Error transferring file 'C:\BMS-Data Conversion\Orgill Formats\Orgill FTP Upload\BMS.PO'.
< 2014-03-20 11:06:41.082 Script: Copying files to remote side failed.
< 2014-03-20 11:06:41.082 No file not specified.
* 2014-03-20 11:06:41.082 (EScpSkipFile) Error transferring file 'C:\BMS-Data Conversion\Orgill Formats\Orgill FTP Upload\BMS.PO'.
* 2014-03-20 11:06:41.082 Copying files to remote side failed.
* 2014-03-20 11:06:41.082 No file not specified.
. 2014-03-20 11:06:41.082 Script: Failed
> 2014-03-20 11:06:41.176 Script: exit
. 2014-03-20 11:06:41.176 Script: Exit code: 1
. 2014-03-20 11:06:41.176 Disconnected from server