Editing files stuck in Transfer Queue - AS/400

ronobvious

2008-10-14 15:50:50

I am on an AS/400. When I login I do a "site namefmt 1". I used to be able right-click on a file and edit it. When I do this now it keeps retrying in the transfer queue. I think the reason for this is because SmartFTP is obtaining a new connection but it isn't using namefmt 1. The AS/400 is a little weird and has multiple file systems. The default filesystem has a 10 character limit on names. namefmt 1 lets you use another file system. This used to work. I'm looking through the settings now but nothing's jumping out at me. I updated because of other problems editing files (at times the file monitoring would stop working and I'd have to manually "Process" those files I was working on). double-clicking on the file I'm attempting to edit brings up this.

[10:39:46] Initializing. Transfer Queue v1.0.16.4.
[10:39:46] CWD home/kbeard/ftp
[10:39:46] 501 Specified object name too long, limit is 10 characters: kbeard/ftp/.
[10:39:46] Transfer failed.

mb

2008-10-14 16:03:44

The problem is that SmartFTP is using a new connection and this connection doesn't know anything about the commands you manually sent in the other connection. I'm implementing the "Commands After Login" feature now. This should correct the problem.

Regards,
Mat

ronobvious

2008-10-14 16:12:05

The problem is that SmartFTP is using a new connection and this connection doesn't know anything about the commands you manually sent in the other connection. I'm implementing the "Commands After Login" feature now. This should correct the problem.

Regards,
Mat

Ok, this used to work before in build 1021. The only reason I upgraded is because I noticed file monitoring would stop working so I thought there might be a fix. Is there a link where I can go and download the older version I was using? If I can't do what I was doing before then this version of SmartFTP is useless because that's all I do with it all day long - edit as/400 files on my pc.

mb

2008-10-14 20:28:57

Hello Kelly ..

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

There is a new feature which allows you to set commands to be sent to the server right after the login. Go to the FTP page in the favorite properties of your favorite.

With this feature you should be able to use the latest version with the edit feature.

Regards,
Mat
SmartFTP

ronobvious

2008-10-14 20:55:06

mb

2008-10-14 21:06:28

The input box is a multi line edit box. You have to separate the commands with Ctrl+Enter.

Can you post the log of your FTP session from the Remote Browser?

Thank you.

Regards,
Mat

ronobvious

2008-10-14 21:26:39

The input box is a multi line edit box. You have to separate the commands with Ctrl+Enter.

Can you post the log of your FTP session from the Remote Browser?

Thank you.

Regards,
Mat

Here it is. IBM makes sure they don't conform to too many standards and they sure as heck aren't up to date with what everyone else is doing so they're kinda like the 'special' kid in the family.

[16:23:14] SmartFTP v3.0.1024.4
[16:23:17] Resolving host name "66.179.47.204"
[16:23:17] Connecting to 66.179.47.204 Port: 21
[16:23:17] Connected to 66.179.47.204.
[16:23:17] 220-QTCP at 192.168.3.32.
[16:23:18] 220 Connection will close if idle more than 5 minutes.
[16:23:18] USER kbeard
[16:23:18] 331 Enter password.
[16:23:18] PASS (hidden)
[16:23:18] 230 KBEARD logged on.
[16:23:18] SYST
[16:23:18] 215 OS/400 is the remote operating system. The TCP/IP version is "V6R1M0".
[16:23:18] Detected Server Type: AS400
[16:23:18] RTT: 19.561 ms
[16:23:18] FEAT
[16:23:18] 211-Feature listing follows:
[16:23:18] AUTH TLS
[16:23:18] CCC
[16:23:18] PBSZ
[16:23:18] PROT
[16:23:18] 211 End of feature listing.
[16:23:18] TYPE I
[16:23:18] 200 Representation type is binary IMAGE.
[16:23:18] REST 0
[16:23:18] 500 subcommand is only allowed for block or compressed modes.
[16:23:18] PWD
[16:23:18] 257 "KBEARD" is current library.
[16:23:18] site namefmt 1
[16:23:19] 250 Now using naming format "1".
[16:23:19] PWD
[16:23:19] 257 "/QSYS.LIB/KBEARD.LIB" is current library.
[16:23:19] CWD /home/kbeard
[16:23:19] 250 "/home/kbeard" is current directory.
[16:23:19] PWD
[16:23:19] 257 "/home/kbeard" is current directory.
[16:23:19] TYPE A
[16:23:19] 200 Representation type is ASCII nonprint.
[16:23:19] Ignoring LIST options.
[16:23:19] PASV
[16:23:19] 227 Entering Passive Mode (66,179,47,204,112,255).
[16:23:19] Opening data connection to 66.179.47.204 Port: 28927
[16:23:19] LIST
[16:23:19] 125 List started.
[16:23:19] 12791 bytes transferred. (47.1 KB/s) (265 ms)
[16:23:19] 250 List completed.
[16:23:20] MDTM parser.cpp
[16:23:20] 500 Subcommand MDTM not valid.
[16:23:20] MDTM parser.hpp
[16:23:20] 500 Subcommand MDTM not valid.
[16:23:20] MDTM preAuthRequest_main24967.log
[16:23:20] 500 Subcommand MDTM not valid.
[16:23:20] MDTM 20080922_trans.log
[16:23:20] 500 Subcommand MDTM not valid.
[16:23:20] MDTM *NONE
[16:23:20] 500 Subcommand MDTM not valid.
[16:23:20] MDTM .profile
[16:23:20] 500 Subcommand MDTM not valid.
[16:23:20] MDTM .sh_history
[16:23:20] 500 Subcommand MDTM not valid.
[16:23:20] MDTM bitset.cpp
[16:23:20] 500 Subcommand MDTM not valid.
[16:23:20] MDTM @LongLink
[16:23:20] 500 Subcommand MDTM not valid.
[16:23:20] MDTM BILLS.TXT
[16:23:20] 500 Subcommand MDTM not valid.
[16:23:20] MDTM Cities.ascii
[16:23:20] 500 Subcommand MDTM not valid.
[16:23:20] MDTM Cities.sm
[16:23:20] 500 Subcommand MDTM not valid.
[16:23:20] MDTM Cities2.sm
[16:23:20] 500 Subcommand MDTM not valid.
[16:23:20] MDTM Client.java
[16:23:20] 500 Subcommand MDTM not valid.
[16:23:20] MDTM Customer.sm
[16:23:21] 500 Subcommand MDTM not valid.
[16:23:21] MDTM ERRORS.TXT
[16:23:21] 500 Subcommand MDTM not valid.
[16:23:21] MDTM Estimate
[16:23:21] 500 Subcommand MDTM not valid.
[16:23:21] MDTM GE Certificate Child.cer
[16:23:21] 500 Subcommand MDTM not valid.
[16:23:21] MDTM GE Certificate Root.cer
[16:23:21] 500 Subcommand MDTM not valid.
[16:23:21] MDTM test2.xml
[16:23:21] 500 Subcommand MDTM not valid.
[16:23:21] MDTM GEWebService.class
[16:23:21] 500 Subcommand MDTM not valid.
[16:23:21] MDTM GEWebService.java
[16:23:21] 500 Subcommand MDTM not valid.
[16:23:21] MDTM GFCOMP.class
[16:23:21] 500 Subcommand MDTM not valid.
[16:23:21] MDTM HttpClientTutorial.class
[16:23:21] 500 Subcommand MDTM not valid.
[16:23:21] MDTM HttpClientTutorial.java
[16:23:21] 500 Subcommand MDTM not valid.
[16:23:21] MDTM MatchDump
[16:23:21] 500 Subcommand MDTM not valid.
[16:23:21] MDTM NOBILLS.TXT
[16:23:21] 500 Subcommand MDTM not valid.
[16:23:21] MDTM QACX2H87DT
[16:23:21] 500 Subcommand MDTM not valid.
[16:23:21] MDTM SendQueue.class
[16:23:21] 500 Subcommand MDTM not valid.
[16:23:22] MDTM SendQueue.java
[16:23:22] 500 Subcommand MDTM not valid.
[16:23:22] MDTM Stuffer.class
[16:23:22] 500 Subcommand MDTM not valid.
[16:23:22] MDTM Stuffer.java
[16:23:22] 500 Subcommand MDTM not valid.
[16:23:22] MDTM SystemDefault.properties
[16:23:22] 500 Subcommand MDTM not valid.
[16:23:22] MDTM axis-1.4.sh
[16:23:22] 500 Subcommand MDTM not valid.
[16:23:22] MDTM axis2.sh
[16:23:22] 500 Subcommand MDTM not valid.
[16:23:22] MDTM billmast.c
[16:23:22] 500 Subcommand MDTM not valid.
[16:23:22] MDTM billmastadv.csv
[16:23:22] 500 Subcommand MDTM not valid.
[16:23:22] MDTM billmstadv.c
[16:23:22] 500 Subcommand MDTM not valid.
[16:23:22] MDTM ceedatm.c
[16:23:22] 500 Subcommand MDTM not valid.
[16:23:22] MDTM citichk.prm
[16:23:22] 500 Subcommand MDTM not valid.
[16:23:22] MDTM cityread.c
[16:23:22] 500 Subcommand MDTM not valid.
[16:23:22] MDTM cls.c
[16:23:22] 500 Subcommand MDTM not valid.
[16:23:22] MDTM cmdtrailer
[16:23:23] 500 Subcommand MDTM not valid.
[16:23:23] MDTM controller.err
[16:23:23] 500 Subcommand MDTM not valid.
[16:23:23] MDTM crap.txt
[16:23:23] 500 Subcommand MDTM not valid.
[16:23:23] MDTM crsmstrfs.c
[16:23:23] 500 Subcommand MDTM not valid.
[16:23:23] MDTM dbtest.c
[16:23:23] 500 Subcommand MDTM not valid.
[16:23:23] MDTM dedequip
[16:23:23] 500 Subcommand MDTM not valid.
[16:23:23] MDTM dedorder
[16:23:23] 500 Subcommand MDTM not valid.
[16:23:23] MDTM dontexist.txt
[16:23:23] 500 Subcommand MDTM not valid.
[16:23:23] MDTM ed210f.c
[16:23:23] 500 Subcommand MDTM not valid.
[16:23:23] MDTM ed214f.c
[16:23:23] 500 Subcommand MDTM not valid.
[16:23:23] MDTM errlog.txt
[16:23:23] 500 Subcommand MDTM not valid.
[16:23:23] MDTM f_length.c
[16:23:23] 500 Subcommand MDTM not valid.
[16:23:23] MDTM feasible
[16:23:23] 500 Subcommand MDTM not valid.
[16:23:23] MDTM fgetcsv.c
[16:23:23] 500 Subcommand MDTM not valid.
[16:23:23] MDTM forecast.in
[16:23:23] 500 Subcommand MDTM not valid.
[16:23:24] MDTM fread.c
[16:23:24] 500 Subcommand MDTM not valid.
[16:23:24] MDTM fseek.c
[16:23:24] 500 Subcommand MDTM not valid.
[16:23:24] MDTM ftok2.c
[16:23:24] 500 Subcommand MDTM not valid.
[16:23:24] MDTM geocreate.c
[16:23:24] 500 Subcommand MDTM not valid.
[16:23:24] MDTM geolist
[16:23:24] 500 Subcommand MDTM not valid.
[16:23:24] MDTM geolist.new
[16:23:24] 500 Subcommand MDTM not valid.
[16:23:24] MDTM geturidebug.txt
[16:23:24] 500 Subcommand MDTM not valid.
[16:23:24] MDTM gfc052c.c
[16:23:24] 500 Subcommand MDTM not valid.
[16:23:24] MDTM gfc052c.c.copy
[16:23:24] 500 Subcommand MDTM not valid.
[16:23:24] MDTM gnu.sav
[16:23:24] 500 Subcommand MDTM not valid.
[16:23:24] MDTM http_postprocess.c
[16:23:24] 500 Subcommand MDTM not valid.
[16:23:24] MDTM iccbill.c
[16:23:24] 500 Subcommand MDTM not valid.
[16:23:24] MDTM ironmaiden.cpp
[16:23:24] 500 Subcommand MDTM not valid.
[16:23:24] MDTM javacp.sh
[16:23:24] 500 Subcommand MDTM not valid.
[16:23:24] MDTM 20080911_trans.log
[16:23:24] 500 Subcommand MDTM not valid.
[16:23:24] MDTM klein-schmidt.c
[16:23:25] 500 Subcommand MDTM not valid.
[16:23:25] MDTM list.c
[16:23:25] 500 Subcommand MDTM not valid.
[16:23:25] MDTM loads.err
[16:23:25] 500 Subcommand MDTM not valid.
[16:23:25] MDTM logo.gif
[16:23:25] 500 Subcommand MDTM not valid.
[16:23:25] MDTM logo.jpg
[16:23:25] 500 Subcommand MDTM not valid.
[16:23:25] MDTM mailbox.controller
[16:23:25] 500 Subcommand MDTM not valid.
[16:23:25] MDTM mailbox.est3
[16:23:25] 500 Subcommand MDTM not valid.
[16:23:25] MDTM mailbox.matchmgr
[16:23:25] 500 Subcommand MDTM not valid.
[16:23:25] MDTM mailbox.optimizer
[16:23:25] 500 Subcommand MDTM not valid.
[16:23:25] MDTM map.cpp
[16:23:25] 500 Subcommand MDTM not valid.
[16:23:25] MDTM map.h
[16:23:25] 500 Subcommand MDTM not valid.
[16:23:25] MDTM matchlist
[16:23:25] 500 Subcommand MDTM not valid.
[16:23:25] MDTM maxardh
[16:23:25] 500 Subcommand MDTM not valid.
[16:23:25] MDTM maxarwt
[16:23:25] 500 Subcommand MDTM not valid.
[16:23:25] MDTM md5.c
[16:23:26] 500 Subcommand MDTM not valid.
[16:23:26] MDTM module header.txt
[16:23:26] 500 Subcommand MDTM not valid.
[16:23:26] MDTM mslookup.c
[16:23:26] 500 Subcommand MDTM not valid.
[16:23:26] MDTM mslookup.csv
[16:23:26] 500 Subcommand MDTM not valid.
[16:23:26] MDTM myiconv.cpp
[16:23:26] 500 Subcommand MDTM not valid.
[16:23:26] MDTM nettest.c
[16:23:26] 500 Subcommand MDTM not valid.
[16:23:26] MDTM orderdtl.htm
[16:23:26] 500 Subcommand MDTM not valid.
[16:23:26] MDTM ortrents
[16:23:26] 500 Subcommand MDTM not valid.
[16:23:26] MDTM out.txt
[16:23:26] 500 Subcommand MDTM not valid.
[16:23:26] MDTM output.txt
[16:23:26] 500 Subcommand MDTM not valid.
[16:23:26] MDTM poo.txt
[16:23:26] 500 Subcommand MDTM not valid.
[16:23:26] MDTM profile
[16:23:26] 500 Subcommand MDTM not valid.
[16:23:26] MDTM qsyrusri.c
[16:23:26] 500 Subcommand MDTM not valid.
[16:23:26] MDTM reverse.cpp
[16:23:26] 500 Subcommand MDTM not valid.
[16:23:26] MDTM sadata.out
[16:23:26] 500 Subcommand MDTM not valid.
[16:23:26] MDTM semaphore.c
[16:23:27] 500 Subcommand MDTM not valid.
[16:23:27] MDTM sha-1.c
[16:23:27] 500 Subcommand MDTM not valid.
[16:23:27] MDTM sha-1.h
[16:23:27] 500 Subcommand MDTM not valid.
[16:23:27] MDTM shmem.c
[16:23:27] 500 Subcommand MDTM not valid.
[16:23:27] MDTM shmem2.c
[16:23:27] 500 Subcommand MDTM not valid.
[16:23:27] MDTM skybitz.dmp
[16:23:27] 500 Subcommand MDTM not valid.
[16:23:27] MDTM skybitz_out.txt
[16:23:27] 500 Subcommand MDTM not valid.
[16:23:27] MDTM smdtaq.dmp
[16:23:27] 500 Subcommand MDTM not valid.
[16:23:27] MDTM smreport
[16:23:27] 500 Subcommand MDTM not valid.
[16:23:27] MDTM smtime
[16:23:27] 500 Subcommand MDTM not valid.
[16:23:27] MDTM spawn_child.cpp
[16:23:27] 500 Subcommand MDTM not valid.
[16:23:27] MDTM spawn_parent.cpp
[16:23:27] 500 Subcommand MDTM not valid.
[16:23:27] MDTM sql.cpp
[16:23:27] 500 Subcommand MDTM not valid.
[16:23:27] MDTM sql2.cpp
[16:23:27] 500 Subcommand MDTM not valid.
[16:23:27] MDTM stationCodeCheck.cpp
[16:23:28] 500 Subcommand MDTM not valid.
[16:23:28] MDTM strlen.c
[16:23:28] 500 Subcommand MDTM not valid.
[16:23:28] MDTM strsep.c
[16:23:28] 500 Subcommand MDTM not valid.
[16:23:28] MDTM sunil.c
[16:23:28] 500 Subcommand MDTM not valid.
[16:23:28] MDTM sunil.sh
[16:23:28] 500 Subcommand MDTM not valid.
[16:23:28] MDTM surematch.prm
[16:23:28] 500 Subcommand MDTM not valid.
[16:23:28] MDTM surematch.usr.prm
[16:23:28] 500 Subcommand MDTM not valid.
[16:23:28] MDTM terminal
[16:23:28] 500 Subcommand MDTM not valid.
[16:23:28] MDTM test.c
[16:23:28] 500 Subcommand MDTM not valid.
[16:23:28] MDTM dork.cpp
[16:23:28] 500 Subcommand MDTM not valid.
[16:23:28] MDTM test.h
[16:23:28] 500 Subcommand MDTM not valid.
[16:23:28] MDTM test.java
[16:23:28] 500 Subcommand MDTM not valid.
[16:23:28] MDTM test.o
[16:23:28] 500 Subcommand MDTM not valid.
[16:23:28] MDTM out.xml
[16:23:28] 500 Subcommand MDTM not valid.
[16:23:28] MDTM test2.cpp
[16:23:28] 500 Subcommand MDTM not valid.
[16:23:28] MDTM preAuthRequest_main24884.log
[16:23:29] 500 Subcommand MDTM not valid.
[16:23:29] MDTM 20080912_trans.log
[16:23:29] 500 Subcommand MDTM not valid.
[16:23:29] MDTM home.cpp
[16:23:29] 500 Subcommand MDTM not valid.
[16:23:29] MDTM SQLColumnResult.cpp
[16:23:29] 500 Subcommand MDTM not valid.
[16:23:29] MDTM GetFTPSetup_main.cpp
[16:23:29] 500 Subcommand MDTM not valid.
[16:23:29] MDTM mapVector.cpp
[16:23:29] 500 Subcommand MDTM not valid.
[16:23:29] MDTM trans_eng.cpp
[16:23:29] 500 Subcommand MDTM not valid.
[16:23:29] MDTM units.err
[16:23:29] 500 Subcommand MDTM not valid.
[16:23:29] MDTM updatelist
[16:23:29] 500 Subcommand MDTM not valid.
[16:23:29] MDTM utilcli.h
[16:23:29] 500 Subcommand MDTM not valid.
[16:23:29] MDTM vector.cpp
[16:23:29] 500 Subcommand MDTM not valid.
[16:23:29] MDTM via
[16:23:29] 500 Subcommand MDTM not valid.
[16:23:29] MDTM viaconvert.c
[16:23:29] 500 Subcommand MDTM not valid.
[16:23:29] MDTM weights
[16:23:29] 500 Subcommand MDTM not valid.
[16:23:29] MDTM whatever
[16:23:29] 500 Subcommand MDTM not valid.
[16:23:29] MDTM whatever.c
[16:23:29] 500 Subcommand MDTM not valid.
[16:23:29] MDTM xml.cpp
[16:23:29] 500 Subcommand MDTM not valid.
[16:23:29] MDTM .vi_history
[16:23:30] 500 Subcommand MDTM not valid.
[16:23:30] MDTM xercesc.cpp
[16:23:30] 500 Subcommand MDTM not valid.
[16:23:30] MDTM preAuthRequest_main24876.log
[16:23:30] 500 Subcommand MDTM not valid.
[16:23:30] MDTM domWriterTests.cpp
[16:23:30] 500 Subcommand MDTM not valid.
[16:23:30] MDTM myUTF-8.xml
[16:23:30] 500 Subcommand MDTM not valid.
[16:23:30] MDTM myEBCDIC.xml
[16:23:30] 500 Subcommand MDTM not valid.
[16:23:30] MDTM testcompile.cpp
[16:23:30] 500 Subcommand MDTM not valid.
[16:23:30] MDTM clientTest.cpp
[16:23:30] 500 Subcommand MDTM not valid.
[16:23:30] MDTM preAuthRequest.xml
[16:23:30] 500 Subcommand MDTM not valid.
[16:23:30] MDTM test.xml
[16:23:30] 500 Subcommand MDTM not valid.
[16:23:30] MDTM out.out
[16:23:30] 500 Subcommand MDTM not valid.
[16:23:30] MDTM out2.out
[16:23:30] 500 Subcommand MDTM not valid.
[16:23:30] MDTM out3.out
[16:23:30] 500 Subcommand MDTM not valid.
[16:23:30] MDTM kelly.xml
[16:23:30] 500 Subcommand MDTM not valid.
[16:23:30] MDTM 20080910_trans.log
[16:23:30] 500 Subcommand MDTM not valid.
[16:23:30] MDTM trans_eng.log
[16:23:31] 500 Subcommand MDTM not valid.
[16:23:31] MDTM utf8.txt
[16:23:31] 500 Subcommand MDTM not valid.
[16:23:31] MDTM 20080913_trans.log
[16:23:31] 500 Subcommand MDTM not valid.
[16:23:31] MDTM 20080916_trans.log
[16:23:31] 500 Subcommand MDTM not valid.
[16:23:31] MDTM 20080914_trans.log
[16:23:31] 500 Subcommand MDTM not valid.
[16:23:31] MDTM test_trans.cpp
[16:23:31] 500 Subcommand MDTM not valid.
[16:23:31] MDTM 20080915_trans.log
[16:23:31] 500 Subcommand MDTM not valid.
[16:23:31] MDTM strptime.cpp
[16:23:31] 500 Subcommand MDTM not valid.
[16:23:31] MDTM xercesTestMain.cpp
[16:23:31] 500 Subcommand MDTM not valid.
[16:23:31] MDTM get_test.cpp
[16:23:31] 500 Subcommand MDTM not valid.
[16:23:31] MDTM get_test
[16:23:31] 500 Subcommand MDTM not valid.

mb

2008-10-15 00:37:39

The problem is that many servers support MDTM but do not announce it in the FEAT reply. SmartFTP will only send 1 MDTM per directory now. I'm planning to improve this further in the future.

Can you please try it again with the latest version?
https://www.smartftp.com/download

ronobvious

2008-10-15 14:16:27

mb

2008-10-15 20:16:17

Hello Kelly ..

If you have a chance can you try the latest beta version:
https://www.smartftp.com/download

MDTM should now only be sent once per session if it fails and not once per directory listing as in the last beta.

Thank you.

Regards,
Mat

ronobvious

2008-10-22 02:34:41

mb

2008-10-22 03:02:14

Hello Kelly ..

I'm unable to reproduce this problem. This should not be related to operating system on the server.

Can you please post the system information from the menu: Help->About "System Information" dialog.

Regards,
Mat