Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はJavaまたはAndroidの初心者です。ここで、org.apache から ftpclient を使用する必要があります。ただし、 のようなディレクトリ名に問題があり123_Andy?ます。疑問符のせいでできないchangeWorkingDirectory、またはできません。makeDirectoryしたがって、私の問題は、ディレクトリ名の一部のみを取得してから作業ディレクトリを変更する方法です。
123_Andy?
changeWorkingDirectory
makeDirectory
疑問符をエンコードする必要がある場合があります。で試してください123_Andy%3F。
123_Andy%3F
%3F は ? をエンコードしています
また、ライブラリに URL エンコーディングが用意されているかどうかも確認してください。だったらそれを使え