Upload problems (not PASV)

Hello!

We are having troubles uploading files to our partners ftp-server, they say that we have to use PUT and GET for ftp-transfers. What I can see SmartFTP isn't even trying to do a STOR, just fails after not recievning a file listing. I had to remove the extra options on LIST to even get it working at all.

Any ideas why this isn't working? With WS-FTP it works and it is sending STOR according to the log.

Our webhost (working):
[codebox]
[08:17:49] Resolving host name "ftp.example.com"
[08:17:49] Connecting to xxx.xxx.xxx.xxx Port: 21
[08:17:49] Connected to ftp.example.com.
[08:17:49] 220 FTP service
[08:17:49] USER xxx
[08:17:49] 331 Please specify the password.
[08:17:49] PASS (hidden)
[08:17:49] 230 Login successful.
[08:17:49] SYST
[08:17:49] 215 UNIX Type: L8
[08:17:49] Detected Server Type: UNIX
[08:17:49] FEAT
[08:17:49] 211-Features:
[08:17:49] AUTH SSL
[08:17:49] AUTH TLS
[08:17:49] EPRT
[08:17:49] EPSV
[08:17:49] MDTM
[08:17:49] PASV
[08:17:49] PBSZ
[08:17:49] PROT
[08:17:49] REST STREAM
[08:17:49] SIZE
[08:17:49] TVFS
[08:17:49] 211 End
[08:17:49] PWD
[08:17:49] 257 "/"
[08:17:59] Remote file exist check: "101.xmf".
[08:17:59] TYPE I
[08:17:59] 200 Switching to Binary mode.
[08:17:59] SIZE 101.xmf
[08:17:59] 550 Could not get file size.
[08:17:59] File size check (SIZE) failed. File not found or permission denied.
[08:17:59] PASV
[08:17:59] 227 Entering Passive Mode (xxx,xxx,xxx,xxx,192,168)
[08:17:59] Opening data connection to xxx.xxx.xxx.xxx Port: 49320
[08:17:59] STOR 101.xmf
[08:17:59] 150 Ok to send data.
[08:17:59] 18622 bytes transferred. (386 kB/s) (47 ms)
[08:17:59] 226 File receive OK.
[08:17:59] MDTM 20070601061908 101.xmf
[08:17:59] 213 File modification time set.
[08:17:59] SIZE 101.xmf
[08:17:59] 213 18622
[08:17:59] TYPE A
[08:17:59] 200 Switching to ASCII mode.
[08:17:59] PASV
[08:17:59] 227 Entering Passive Mode (xxx,xxx,xxx,xxx,120,156)
[08:17:59] Opening data connection to xxx.xxx.xxx.xxx Port: 30876
[08:17:59] LIST
[08:17:59] 150 Here comes the directory listing.
[08:17:59] 665 bytes transferred. (N/A/s) (0 ms)
[08:17:59] 226 Directory send OK.
[08:17:59] Transfer successful.
[/codebox]

Our webhost with PASV off (still working):
[codebox]
[08:19:37] Remote file exist check: "309.xmf".
[08:19:37] TYPE I
[08:19:37] 200 Switching to Binary mode.
[08:19:37] SIZE 309.xmf
[08:19:37] 550 Could not get file size.
[08:19:37] File size check (SIZE) failed. File not found or permission denied.
[08:19:37] PORT 192,168,254,154,4,167
[08:19:37] 200 PORT command successful. Consider using PASV.
[08:19:37] STOR 309.xmf
[08:19:37] 150 Ok to send data.
[08:19:37] 11185 bytes transferred. (728 kB/s) (15 ms)
[08:19:37] 226 File receive OK.
[08:19:37] MDTM 20070601062229 309.xmf
[08:19:37] 213 File modification time set.
[08:19:37] SIZE 309.xmf
[08:19:37] 213 11185
[08:19:37] TYPE A
[08:19:37] 200 Switching to ASCII mode.
[08:19:37] PORT 192,168,254,154,4,169
[08:19:37] 200 PORT command successful. Consider using PASV.
[08:19:37] LIST
[08:19:37] 150 Here comes the directory listing.
[08:19:37] 730 bytes transferred. (44,5 kB/s) (16 ms)
[08:19:37] 226 Directory send OK.
[08:19:37] Transfer successful.
[/codebox]

The problematic FTP (fails):
[codebox]
[08:12:34] SmartFTP v2.5.1005.27
[08:12:34] Resolving host name "ftp.xpedite.co.uk"
[08:12:34] Connecting to 80.75.208.1 Port: 21
[08:12:34] Connected to ftp.xpedite.co.uk.
[08:12:34] 220 XPEDITE SYSTEMS FTP SERVER READY.
[08:12:34] USER xxx
[08:12:34] 331 Password required for xxx.
[08:12:34] PASS (hidden)
[08:12:34] 230 User xxx logged in.
[08:12:34] SYST
[08:12:34] 215 UNIX Type: L8
[08:12:34] Detected Server Type: UNIX
[08:12:34] TYPE I
[08:12:34] 200 Type set to I.
[08:12:34] REST 0
[08:12:35] 502 REST not allowed by Xpedite server
[08:12:35] PWD
[08:12:35] 257 "/" is current directory.
[08:12:35] TYPE A
[08:12:35] 200 Type set to A.
[08:12:35] PORT 192,168,254,154,4,133
[08:12:35] 200 PORT command successful.
[08:12:35] LIST
[08:12:35] 150 ASCII data connection for Mailbox list.
[08:12:35] 0 bytes transferred. (0 byte/s) (31 ms)
[08:12:35] 550 No files found.
[08:12:35] Automatic failover of data connection mode from "Active Mode (PORT)" to "Passive Mode (PASV)".
[08:12:35] PASV
[08:12:35] 502 PASV not allowed by Xpedite server

[08:21:05] PORT 192,168,254,154,4,175
[08:21:05] 200 PORT command successful.
[08:21:05] LIST
[08:21:05] 150 ASCII data connection for Mailbox list.
[08:21:05] 0 bytes transferred. (0 byte/s) (16 ms)
[08:21:05] 550 No files found.
[08:21:05] PORT 192,168,254,154,4,177
[08:21:05] 200 PORT command successful.
[08:21:05] LIST
[08:21:05] 150 ASCII data connection for Mailbox list.
[08:21:05] 0 bytes transferred. (0 byte/s) (15 ms)
[08:21:05] 550 No files found.
[08:21:05] Transfer failed.
[/codebox]

Problematic server with WS_FTP:
[codebox]
502 PASV not allowed by Xpedite server
PASV Not Supported
XPSV
500 'XPSV': command not understood.
XPSV Not Supported
PORT 192,168,254,154,8,213
200 PORT command successful.
STOR 10.xmf
150 BINARY data connection for 10.xmf.
226 JOB = 67495757 - Transfer complete. (1842 Bytes rcvd)
transferred 1842 bytes in 0.203 seconds, 70.846 Kbps ( 8.856 Kbps), transfer succeeded.
Transfer request completed with status: Finished
TYPE A
200 Type set to A.
PORT 192,168,254,154,8,215
200 PORT command successful.
LIST
150 ASCII data connection for Mailbox list.
transferred 0 bytes in < 0.001 seconds, 0.000 Bps ( 0.000 Bps), transfer succeeded.
550 No files found.
[/codebox]

Hello again ..

Please install the latest version from:
https://www.smartftp.com/download

A workaround fixes the problem with this server now.

Regards,
-Mat
SmartFTP

Hmm, that makes it work, how is that? Anyway, it works :-)

Is it posible to schedule uploads of the content of a folder? The content will change from week to week so I can't preselect the files, only the folder they will be in.

Something like this would be handy:

SmartFTP.exe -server "user:password@ftp.example.com" -path / -upload "\\server\PDF\*"

Sure, WS_FTP can do this but I don't want to use it. It crashes most of the time and I need a way of being sure this works :-)

Hello ..

Yes it's possible with the Transfer Queue Schedule feature. Queue the folder you want to upload to the Transfer Queue.
See tutorial: "Transfer Queue - Upload". https://www.smartftp.com/support/howto
Then right-click on the item in the Transfer Queue and select Schedule from the context menu. Set it to process weekly.
Of course you SmartFTP needs to be running before the items get processed. You may want to add SmartFTP to the Windows Scheduler.

Regards,
-Mat

Ok worked fine here but a bit tricky to set up if you aren't used to computers.
We will try it next week and if it's easy enough for the others to understand you have a few more happy customers :-)